﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="MvvmFx.Samples.HowTos.Validation.View.DeliveryView" d:DesignWidth="576" d:DesignHeight="232">

    <UserControl.Resources>
      
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition Width="112"/>
    		<ColumnDefinition Width="0.5*"/>
    		<ColumnDefinition Width="0.5*"/>
    	</Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="60"/>
            <RowDefinition Height="34"/>
            <RowDefinition Height="34"/>
            <RowDefinition Height="34"/>
            <RowDefinition Height="34"/>
            <RowDefinition Height="34"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <TextBlock TextWrapping="Wrap" Text="Flat/House No." Height="14.584" Grid.Row="1" />
        <TextBox TabIndex="6" 
                 Text="{Binding HouseNameNumber, Mode=TwoWay, UpdateSourceTrigger=Default, ValidatesOnExceptions=True}" Height="21.96" Grid.Column="1" Grid.Row="1" />
        <TextBlock TextWrapping="Wrap" Text="Street Name:" Grid.Row="2" Height="14.584" />
        <TextBox Grid.Row="2" TabIndex="6" 
                 Text="{Binding StreetName, Mode=TwoWay, UpdateSourceTrigger=Default, ValidatesOnExceptions=True}" Height="21.96" Grid.Column="1" />
        <TextBlock TextWrapping="Wrap" Grid.Row="3" Text="City Name:" Height="14.584" />
        <TextBox Grid.Row="3" TabIndex="6" Text="{Binding CityName, Mode=TwoWay, UpdateSourceTrigger=Default, ValidatesOnExceptions=True}" Height="21.96" Grid.Column="1" />
        <TextBlock TextWrapping="Wrap" Grid.Row="4" Text="Country:" Height="14.584" />
        <TextBox Grid.Row="4" TabIndex="6" Text="{Binding Country, Mode=TwoWay, UpdateSourceTrigger=Default, ValidatesOnExceptions=True}" Height="21.96" Grid.Column="1" />
        <TextBlock TextWrapping="Wrap" Grid.Row="5" Text="Post Code:" Height="14.584" />
        <TextBox Grid.Row="5" TabIndex="6" Text="{Binding PostCode, Mode=TwoWay, UpdateSourceTrigger=Default, ValidatesOnExceptions=True}" Height="21.96" Grid.Column="1" />
        <TextBlock Text="Validation Sample" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="24" FontWeight="Bold" Grid.ColumnSpan="3" HorizontalAlignment="Center"/>
    </Grid>
</UserControl>